Skip to content

Fix accidental ESM-mode directory module lookup in package non-root #61082

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

andrewbranch
Copy link
Member

Fixes #61057

@andrewbranch andrewbranch merged commit 019fec8 into microsoft:main Jan 30, 2025
32 checks passed
@andrewbranch andrewbranch deleted the bug/61057 branch January 30, 2025 18:17
@typescript-bot typescript-bot added Author: Team For Milestone Bug PRs that fix a bug with a specific milestone labels Jan 30, 2025
@andrewbranch andrewbranch added the Breaking Change Would introduce errors in existing code label Feb 28, 2025
@sandersn sandersn removed this from PR Backlog Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team Breaking Change Would introduce errors in existing code For Milestone Bug PRs that fix a bug with a specific milestone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeScript inappropriately resolves directory imports in ESM mode, that fail at runtime (in Node, but probably all ESM environments).
3 participants